package dale.web.link.repository;

import java.util.List;

import dale.web.common.model.Condition;
import dale.web.link.model.Link;

public interface LinkRepository {
	
	List<Link> selectAll();
	
	Link selectOne(Integer no);

	int count(Condition<Link> condition);

	List<Link> selectList(Condition<Link> condition, int offset, int limit);
	
	List<String> selectDistinctCatecoryList();
	
	int delete(Integer no);

	int insert(Link item);

	int update(Link item);
	
	int countUp(Integer no);
	
}
